import xxRequest from '../request'

// 热门建议
export function getHomeHotSuggests(){
    return xxRequest.get({
        url: '/home/hotSuggests'
    })
} 

// 分类
export function getHomeCategories(){
    return xxRequest.get({
        url: '/home/categories'
    })
}

// 房屋列表
export function getHomeHouseList(currentPage = 1){
    return xxRequest.get({
        url: '/home/houselist',
        params: {
            page: currentPage
        }
    })
}